import { N as request } from './index-Cc4oxzDN.js';

// 删除用户地址 
function addressDelete(data) {
  return request.post(`/address/del/${data.id}`, undefined, { login: true })
}

// 设置默认地址  
function shopGetDistanceFromLocation(data) {
  return request.post(`/address/getDistanceFromLocation`, data, { login: true })
}

// 添加或修改地址
function getAddressAddAndEdit(data) {
  return request.post(`/address/addAndEdit`, data, { login: true })
}

// 用户地址列表 l
function addressAll(data) {
  return request.get(`/address/list`, data, { login: true })
}

export { addressAll as a, addressDelete as b, getAddressAddAndEdit as g, shopGetDistanceFromLocation as s };
